<?php
/**
 * Hỗ trợ trực tuyến
 */
#[Table('online_support')]
#[PrimaryKey['id']
class Models_OnlineSupport extends XPHP_Model
{
	public $id;
	
	public $name;
	
	public $yahoo_id;
	
	public $skype_id;
	
	public $group_id;
    
	public function getName($type_id)
    {
    	$tour = $this->db->where('id', $type_id)
    					->get()
    					->result();
    	return $tour[0]->name;
    }
}